<html>
    <head>
        <link href="/static/css/bootstrap.min.css" rel="stylesheet">
        <link href="/static/font-awesome/css/font-awesome.css" rel="stylesheet">
        <link href="/static/css/plugins/iCheck/custom.css" rel="stylesheet">
        <link href="/static/css/animate.css" rel="stylesheet">
        <link href="/static/css/style.css" rel="stylesheet">

        <script src="/static/js/jquery-2.1.1.js"></script>
        <style>
            body {background: #ffffff;}
        </style>
    </head>
{% load mytags %}
{% load bootstrap %}
{% block content %}
<body>
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            {# <div class="col-sm-8">#}
                {# <div class="ibox float-e-margins">#}
                    {# <div class="ibox-title">#}
                    {# <span class="text text-primary"><b>{{ asset.ip }}</b></span>#}
                        <div class="ibox-tools">
                            {# <a class="" href="{% url 'asset_update' %}?id={{ asset.id }}">#}
                                <i class="fa fa-refresh"></i>
                            </a>
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                            </ul>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content ibox-heading">
                        <h3>资产详细信息</h3>
                        <small><i class="fa fa-map-marker"></i> 资产序号 【{{ asset_info.it_serial }}】 信息.</small>
                    </div>
                    <div class="ibox-content">
                        <div>
                            <div class="text-left">
                                <table class="table">
                                    {% for field in field_list  %}
                                    <tr>
                                        <td class="text-navy"> {{ field_mapped|get_dict_value:field }} </td>
                                        <td>{{ asset_info|get_obj_value:field }}</td>
                                    </tr>
                                    {% endfor %}
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            {# </div>#}
    {# </div>#}
{# </div>#}

{% endblock content %}
</body>
</html>
